﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Core;
using System.Collections;

namespace Yuanlin.Business
{
    public class ZiCaiRequest : TEntityRequest<ZiCai>
    {
        public ZiCaiRequest()
        {
            int? entityId = GetParameterValue<int?>(YuanlinParameterName.ZicaiId);
            if (entityId.HasValue)
            {
                EntityId = entityId.Value;
            }
        }
    }
    public class ZiCaiListRequest : TEntityListRequest<ZiCai>
    {
        private int? upZiCaiId = GetParameterValue<int?>(YuanlinParameterName.UpZiCaiId);
        private int? amount = 0;

        public int? UpZiCaiId
        {
            get
            {
                return upZiCaiId;
            }
            set
            {
                upZiCaiId = value;
            }
        }
        public int? Amount
        {
            get
            {
                return amount;
            }
            set
            {
                amount = value;
            }
        }
    }
    public class ZiCaiReply : EntityReply
    {
    }
}